package com.qt.generics;

import java.util.ArrayList;

public class GenericsDemo01 {

    public static void main(String[] args) {

        ArrayList<Animal> arrayList = new ArrayList();

        arrayList.add(new Animal());
        arrayList.add(new Cat());

    }








}
